module.exports = class extends think.Model
{
    async getWorksCountByWorkStepsGuid(workStepsGuid){
        return await this.where({FK_CompetitionSteps:workStepsGuid}).count('PK_WorksNoGuid');
    }
}